import axios from 'axios';
let base = 'report';


/**
 * 报告列表
 * created by xwang 2018.09.12 创建方法
 * **/
export const getReportList = params => {
    return axios.post(`${base}/report_list`, params);
};

/**
 * 检查报告下的检查作业
 * created by xwang 2018.09.26 创建方法
 * **/
export const checkReport = params => {
    return axios.post(`${base}/report_check`, params);
};


/**
 * 报告详情
 * created by xwang 2018.09.12 创建方法
 * **/
export const getReportDetail = params => {
    return axios.post(`${base}/report_detail`, params);
};

/**
 * 编辑报告
 * created by xwang 2018.09.26 创建方法
 * **/
export const updateReport = params => {
    return axios.post(`${base}/report_update`, params);
};


/**
 * 提交报告
 * created by xwang 2018.09.14 创建方法
 * **/
export const submitReport = params => {
    return axios.post(`${base}/report_submit`, params);
};


/**
 * 评估结果
 * created by xwang 2018.09.14 创建方法
 * **/
export const reportResult = params => {
    return axios.post(`${base}/report_result`, params);
};
/**
 * 自查报告LIST
 * created by xwang 2018.09.14 创建方法
 * **/
export const selfCheckReport = params => {
    return axios.post(`${base}/self_check_report`, params);
};
/**
 * 自查报告管理
 * created by xwang 2018.09.14 创建方法
 * **/
export const dowSelfCheckReportForWord = params => {
    return axios.post(`${base}/self_check_report_word`, params);
};
/**
 * 提交自查报告
 *
 * created by xwang 2018.09.14 创建方法
 * **/
export const selfSubmitReport = params => {
    return axios.post(`${base}/self_check_submit_report`, params);
};